package com.bookManagerment.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@Data
public class SalesStatisticsVo {

    private List<String> bookTypes;
    private List<Integer> sales;

    private SalesBooksByTypeVO salesMaxBooksByType;

    public static SalesStatisticsVo initSalesMaxBooksByTypeVO(){
        SalesStatisticsVo salesStatisticsVo = new SalesStatisticsVo();
        salesStatisticsVo.bookTypes = new ArrayList<String>();
        salesStatisticsVo.sales =  new ArrayList<Integer>();
        return salesStatisticsVo;
    }

    public List<String> getBookTypes() {
        return bookTypes;
    }

    public void setBookTypes(List<String> bookTypes) {
        this.bookTypes = bookTypes;
    }

    public List<Integer> getSales() {
        return sales;
    }

    public void setSales(List<Integer> sales) {
        this.sales = sales;
    }

    public SalesBooksByTypeVO getSalesMaxBooksByType() {
        return salesMaxBooksByType;
    }

    public void setSalesMaxBooksByType(SalesBooksByTypeVO salesMaxBooksByType) {
        this.salesMaxBooksByType = salesMaxBooksByType;
    }
}
